//
//  ZLTextView.h
//  ZLTextView
//
//  Created by 科大物联 on 2023/6/26.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol ZLTextViewDelegate <NSObject, UITextViewDelegate>
- (void)textViewTextLengthDidMax;
@end

@interface ZLTextView : UIView
@property (nonatomic, weak) id zlDelegate;
@property (nonatomic, strong) UITextView *textView;
@property (nonatomic, strong) UILabel *numberLabel;
@property (nonatomic, strong) UILabel *placeholderLabel;
@property (nonatomic, copy) NSString *placeholder;
@property (nonatomic, strong) UIColor *placeholderColor;
@property (nonatomic, strong) UIColor *numberColor;
@property (nonatomic, assign) NSInteger maxLength;
@property (nonatomic, strong) UIFont *font;
@end

NS_ASSUME_NONNULL_END
